import util.mydecorator

from min_year_pct import job as min_year_pct_job
from download import job as download_job
from main import job as main_job
from de_sum import job as de_sum_job
from gb_sta import job as gb_sta_job
from daily_monitor  import job as daily_monitor_job
from daily_gb_sta import job as daily_gb_sta_job
from sqlite_built import job as sqlite_built_job


@util.mydecorator.calTime
def jobs():
    # 处理下载的数据
    download_job()

    main_job()

    # 年涨跌
    min_year_pct_job()

    daily_monitor_job()   

    de_sum_job()

    gb_sta_job()

    daily_gb_sta_job()

    sqlite_built_job()


if __name__ == '__main__':
    jobs()